#include "RootActor.h"

namespace egg{

    RootActor::RootActor(Scene* _scene){
        mScene=_scene;
    }

    Scene* RootActor::getScene(){
        return mScene;
    }

    vec4 RootActor::getWorldPosition(){
        return mLocal2WorldMatrix[3];
    }

    vec4 RootActor::getParentPosition(){
        return mLocal2ParentMatrix[3];
    }

    const mat4& RootActor::getLocal2WorldMatrix(){
        return mLocal2WorldMatrix;
    }

    const mat4& RootActor::getLocal2ParentMatrix(){
        return mLocal2ParentMatrix;
    }

}